<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			table{
				margin-top: 50px;
			}
			table tr td{
				text-align:center; 
				width: 300px;
				/*&:nth-of-type(1){
					width: 150px;
				}
				&:nth-of-type(2){
					width: 150px;
				}
				&:nth-of-type(3){
					width: 300px;
				}*/
			}
		</style>
		<script src="index.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<form onsubmit="return false">
			<input type="text" name="username" id="username" value="" placeholder="请输入用户名"/>
			<input type="text" name="mobile" id="mobile" value="" placeholder="请输入电话"/>
			<input type="text" name="address" id="address" value="" placeholder="请输入地址"/>
			<input type="submit" value="增加数据"/>
			<input type="submit" value="修改你输入的用户名数据"/>
			<input type="submit" value="删除全部数据"/>
			<input type="submit" value="删除你输入的用户名数据"/>
		</form>
		<table border="1">
			<tr>
				<td>用户名</td>
				<td>电话</td>
				<td>地址</td>
			</tr>
		</table>
	</body>
	<script type="text/javascript">
//		localStorage.setItem(JSON.stringify({"name":"11","day":30}),JSON.stringify(true));
//		console.log(true);
//		console.log(JSON.parse(localStorage.getItem("na")));
//setInfo("ha");
//setInfo("zhao","西南石油大学",1)
//localStorage.setItem("aa","nn")
//console.log(111);
//console.log(updateGetInfo("zhao"));
console.log(deleteInfo("zhao"));
	</script>
</html>
